package com.wxfbboy.suanfa;

import com.wxfbboy.suanfa.utils.algorithm.InsertionSortingAlogorithm;
import com.wxfbboy.suanfa.utils.algorithm.SelectionSortingAlgorithm;

/**
 * 排序算法大类 - 插入排序算法
 */
public class InsertionSortingTest {
    public static void main(String[] args) {
        Comparable[] a = {5,2,7,1,9,6,2};
        a = InsertionSortingAlogorithm.sort(a);
        SelectionSortingAlgorithm.show(a);
    }
}
